Base solution for your next web application

Activities of "terry bentley"

Answer

I was able to resolve my issue. I only had Abp.Zero 2.0.1 installed as soon as I upgraded to Abp.Zero 2.0.2 the error disappeared.

Since I couldn't get the ADFS working, I switched over to seeing whether I could use OpenId instead to access the Azure Active Directory. I have been able to signon with OpenId but only if I manually put a record in the AbpUserLogins table (it was empty).

How is the AbpUserLogins table maintained?

Thanks... Terry

I have upgraded to Abp 2.0.2 and must have messed something up and have spent hours trying to resolve it. I am getting the following error when I try to run the program from either Visual Studio 2015 or after deploying to IIS. Does anyone have any suggestions as to what I am missing or have misconfigured?

Server Error in '/' Application.

No component for supporting the service Abp.Resources.Embedded.IEmbeddedResourceManager was found 
  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

 Exception Details: Castle.MicroKernel.ComponentNotFoundException: No component for supporting the service Abp.Resources.Embedded.IEmbeddedResourceManager was found

Source Error: 



Line 27:         public void Configuration(IAppBuilder app)
Line 28:         {
Line 29:             app.UseAbp();
Line 30: 
Line 31:             app.RegisterDataProtectionProvider();
  

 Source File:  C:\Users\bentleyt\Source\Repos\cipher\src\RtTech.Cipher.Web\App_Start\Startup.cs    Line:  29 

Stack Trace: 



[ComponentNotFoundException: No component for supporting the service Abp.Resources.Embedded.IEmbeddedResourceManager was found]
   Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, IDictionary arguments, IReleasePolicy policy) +78
   Castle.MicroKernel.DefaultKernel.Resolve(Type service, IDictionary arguments) +14
   Castle.Windsor.WindsorContainer.Resolve() +63
   Abp.Dependency.IocManager.Resolve() +49
   Abp.Owin.AbpOwinExtensions.UseAbp(IAppBuilder app, Action`1 optionsAction) +285
   Abp.Owin.AbpOwinExtensions.UseAbp(IAppBuilder app) +7
   RtTech.Cipher.Web.Startup.Configuration(IAppBuilder app) in C:\Users\bentleyt\Source\Repos\cipher\src\RtTech.Cipher.Web\App_Start\Startup.cs:29

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +160
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +101
   Owin.Loader.<>c__DisplayClass12.<MakeDelegate>b__b(IAppBuilder builder) +66
   Owin.Loader.<>c__DisplayClass1.<LoadImplementation>b__0(IAppBuilder builder) +123
   Microsoft.Owin.Host.SystemWeb.<>c__DisplayClass2.<InitializeBlueprint>b__0(IAppBuilder builder) +71
   Microsoft.Owin.Host.SystemWeb.OwinAppContext.Initialize(Action`1 startup) +462
   Microsoft.Owin.Host.SystemWeb.OwinBuilder.Build(Action`1 startup) +40
   Microsoft.Owin.Host.SystemWeb.OwinHttpModule.InitializeBlueprint() +70
   System.Threading.LazyInitializer.EnsureInitializedCore(T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory) +115
   Microsoft.Owin.Host.SystemWeb.OwinHttpModule.Init(HttpApplication context) +106
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +523
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +176
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +349
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +303

[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +658
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +95
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +188

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1637.0

Thanks... Terry

Thanks for the response.

It looks like the "no component for supporting the service" is actually a red herring.

For some reason the Global.asax.cs is not firing. This caused the WebModule not to execute and do the IoC registrations. However the Startup.cs is executing which is when the error comes up.

Now to "just" figure out why the Global.asax.cs is no longer executing.

Problem solved.

Global.asax was not executing due to the existance of precompiledapp.config file getting created by one of the developers by him checking to precompile on publish in VS and then the other developers downloading this change from source control. Removed the precompiledapp.config file and things started working again.

Question

I have been using your great ASP.NET Zero for almost 2 years now and just started using the excel exporter and discovered that the library you reference (EPPLUS) uses the LGPL 2.1 license .

Any plans on replacing this with an MIT or BSD licensed equivalent? Considering this library is the only non MIT or BSD licensed dll in our projects we would prefer not to get the lawyers involved in whether the "Lesser" in Lesser GPL really does allow our code to be proprietary.

Thanks... Terry

We have run a report of our code by type of license and have found a number of GPL and commercial licensed products which our company does not like using: fancybox Slider Revolution GreenSock

Are we licensed to use this under the commercial license as part of the Metronic License which we get as part of the ASP.Net Zero license?

Thanks... Terry

Showing 31 to 37 of 37 entries